package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.ResponseResult;
import com.heima.media.Dto.ChannleDto;
import com.heima.media.entity.WmChannel;

public interface IWmChannelService extends IService<WmChannel> {
    //分页查询
    ResponseResult listByName(ChannleDto dto);

    //新增频道
    ResponseResult saveWmChannel(WmChannel channel);

    //修改频道
    ResponseResult updateWmChannel(WmChannel wmChannel);

    //删除频道
    ResponseResult deleteById(Integer id);
}
